package org.istt.domain;

import static javax.persistence.GenerationType.IDENTITY;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * File entity. @author MyEclipse Persistence Tools
 */
@Entity(name = "fileCapPhepXayDung")
@Table(name = "TBL_FILE_CAP_PHEP_XD", schema = "dbo", catalog = "onegate")
public class FileCapPhepXayDung extends BaseObject<Long> implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1392103101254166475L;
    private String chu_dau_tu;
    private String chuc_vu;
    private String dia_chi_lien_he;
    private String dien_thoai;
    private String donvi_dia_chi;
    private String donvi_dien_thoai;
    private String donvi_tk;
    private String duong;
    private String email;
    private Set<FileAttachment> fileAttachments = new HashSet<FileAttachment>(0);
    private Long id;
    private String loai_thu_tuc;
    private String lodat_dia_chi;
    private String lodat_dien_tich;
    private String lodat_duong;
    private String lodat_nguon_goc;
    private String lodat_phuong;
    private String lodat_quan;
    private String lodat_so;
    private String lodat_tp;
    private Date ngay_nop;
    private String nguoi_dai_dien;
    private String noidung_cap_ct;
    private String noidung_chieucao;
    private String noidung_dt_tang;
    private String noidung_loai_ct;
    private String noidung_so_tang;
    private String noidung_tong_dt_san;
    private String phuong;
    private String phuong_an_pha_do;
    private String quan;
    private Boolean received;
    private String so_nha;
    private String ten_lien_he;
    private String thamdinh_dia_chi;
    private String thamdinh_dien_thoai;
	private String thamdinh_giay_phep;
    private String thamdinh_ngay_cap;
    private String thamdinh_tk;
    
    private String thanh_pho;
    
	private String thoi_gian_hoan_thanh;
    private String thu_tuc;
    private String fileCode;
    private String notify_message;
    
    
	@Override
	public boolean equals(Object o) {
		
		return false;
	}

	@Column(name="CHU_DAU_TU")
	public String getChu_dau_tu() {
		return chu_dau_tu;
	}

	@Column(name="CHUC_VU")
	public String getChuc_vu() {
		return chuc_vu;
	}

	@Column(name="DIA_CHI_LIEN_HE")
	public String getDia_chi_lien_he() {
		return dia_chi_lien_he;
	}
    
    
    @Column(name="DIEN_THOAI")
	public String getDien_thoai() {
		return dien_thoai;
	}

	@Column(name="DONVI_DIA_CHI")
	public String getDonvi_dia_chi() {
		return donvi_dia_chi;
	}

	@Column(name="DONVI_DIEN_THOAI")
	public String getDonvi_dien_thoai() {
		return donvi_dien_thoai;
	}

	@Column(name="DONVI_TK")
	public String getDonvi_tk() {
		return donvi_tk;
	}
	
	@Column(name="DUONG")
	public String getDuong() {
		return duong;
	}

	@Column(name="EMAIL")
	public String getEmail() {
		return email;
	}
	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "fileCapPhepXayDung")
	public Set<FileAttachment> getFileAttachments() {
		return fileAttachments;
	}

	@Id @GeneratedValue(strategy=IDENTITY)
    @Column(name="ID", unique = true, nullable=false)
	public Long getId() {
		return id;
	}
	@Column(name="LOAI_THU_TUC")
	public String getLoai_thu_tuc() {
		return loai_thu_tuc;
	}

	@Column(name="LODAT_DIA_CHI")
	public String getLodat_dia_chi() {
		return lodat_dia_chi;
	}
	@Column(name="LODAT_DIEN_TICH")
	public String getLodat_dien_tich() {
		return lodat_dien_tich;
	}

	@Column(name="LODAT_DUONG")
	public String getLodat_duong() {
		return lodat_duong;
	}
	
	@Column(name="LODAT_NGUON_GOC")
	public String getLodat_nguon_goc() {
		return lodat_nguon_goc;
	}

	@Column(name="LODAT_PHUONG")
	public String getLodat_phuong() {
		return lodat_phuong;
	}
	@Column(name="LODAT_QUAN")
	public String getLodat_quan() {
		return lodat_quan;
	}

	@Column(name="LODAT_SO")
	public String getLodat_so() {
		return lodat_so;
	}
	@Column(name="LODAT_TP")
	public String getLodat_tp() {
		return lodat_tp;
	}

	@Column(name="NGAY_NOP")
	public Date getNgay_nop() {
		return ngay_nop;
	}
	@Column(name="NGUOI_DAI_DIEN")
	public String getNguoi_dai_dien() {
		return nguoi_dai_dien;
	}

	@Column(name="NOIDUNG_CAP_CT")
	public String getNoidung_cap_ct() {
		return noidung_cap_ct;
	}
	@Column(name="NOIDUNG_CHIEUCAO")
	public String getNoidung_chieucao() {
		return noidung_chieucao;
	}

	@Column(name="NOIDUNG_DT_TANG")
	public String getNoidung_dt_tang() {
		return noidung_dt_tang;
	}
	@Column(name="NOIDUNG_LOAI_CT")
	public String getNoidung_loai_ct() {
		return noidung_loai_ct;
	}

	@Column(name="NOIDUNG_SO_TANG")
	public String getNoidung_so_tang() {
		return noidung_so_tang;
	}
	@Column(name="NOIDUNG_TONG_DT_SAN")
	public String getNoidung_tong_dt_san() {
		return noidung_tong_dt_san;
	}

	@Column(name="PHUONG")
	public String getPhuong() {
		return phuong;
	}
	@Column(name="PHUONG_AN_PHA_DO")
	public String getPhuong_an_pha_do() {
		return phuong_an_pha_do;
	}

	@Column(name="QUAN")
	public String getQuan() {
		return quan;
	}
	@Column(name="TIEP_NHAN")
	public Boolean getReceived() {
		return received;
	}

	@Column(name="SO_NHA")
	public String getSo_nha() {
		return so_nha;
	}
	@Column(name="TEN_LIEN_HE")
    public String getTen_lien_he() {
		return ten_lien_he;
	}

	@Column(name="TEN_THU_TUC", length = 500)
	public String getTen_thu_tuc() {
		return thu_tuc;
	}
	@Column(name="THAMDINH_DIA_CHI")
	public String getThamdinh_dia_chi() {
		return thamdinh_dia_chi;
	}

	@Column(name="THAMDINH_DIEN_THOAI")
	public String getThamdinh_dien_thoai() {
		return thamdinh_dien_thoai;
	}
	@Column(name="THAMDINH_GIAY_PHEP")
	public String getThamdinh_giay_phep() {
		return thamdinh_giay_phep;
	}

	@Column(name="THAM_DINH_NGAY_CAP", length = 500)
	public String getThamdinh_ngay_cap() {
		return thamdinh_ngay_cap;
	}
	@Column(name="THAMDINH_TK")
	public String getThamdinh_tk() {
		return thamdinh_tk;
	}

	@Column(name="THANH_PHO")
	public String getThanh_pho() {
		return thanh_pho;
	}
	@Column(name="THOI_GIAN_HOAN_THANH")
	public String getThoi_gian_hoan_thanh() {
		return thoi_gian_hoan_thanh;
	}

	@Column(name="THU_TUC")
	public String getThu_tuc() {
		return thu_tuc;
	}
	@Override
	public int hashCode() {
		
		return 0;
	}

	public void setChu_dau_tu(String chu_dau_tu) {
		this.chu_dau_tu = chu_dau_tu;
	}

	public void setChuc_vu(String chuc_vu) {
		this.chuc_vu = chuc_vu;
	}
	public void setDia_chi_lien_he(String dia_chi_lien_he) {
		this.dia_chi_lien_he = dia_chi_lien_he;
	}
	
	public void setDien_thoai(String dien_thoai) {
		this.dien_thoai = dien_thoai;
	}
	
	public void setDonvi_dia_chi(String donvi_dia_chi) {
		this.donvi_dia_chi = donvi_dia_chi;
	}
	public void setDonvi_dien_thoai(String donvi_dien_thoai) {
		this.donvi_dien_thoai = donvi_dien_thoai;
	}

	public void setDonvi_tk(String donvi_tk) {
		this.donvi_tk = donvi_tk;
	}

	public void setDuong(String duong) {
		this.duong = duong;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setFileAttachments(Set<FileAttachment> fileAttachments) {
		this.fileAttachments = fileAttachments;
	}

	public void setId(Long id) {
		this.id = id;
	}


	public void setLoai_thu_tuc(String loai_thu_tuc) {
		this.loai_thu_tuc = loai_thu_tuc;
	}

	public void setLodat_dia_chi(String lodat_dia_chi) {
		this.lodat_dia_chi = lodat_dia_chi;
	}

	public void setLodat_dien_tich(String lodat_dien_tich) {
		this.lodat_dien_tich = lodat_dien_tich;
	}

	public void setLodat_duong(String lodat_duong) {
		this.lodat_duong = lodat_duong;
	}

	public void setLodat_nguon_goc(String lodat_nguon_goc) {
		this.lodat_nguon_goc = lodat_nguon_goc;
	}

	public void setLodat_phuong(String lodat_phuong) {
		this.lodat_phuong = lodat_phuong;
	}

	public void setLodat_quan(String lodat_quan) {
		this.lodat_quan = lodat_quan;
	}

	public void setLodat_so(String lodat_so) {
		this.lodat_so = lodat_so;
	}

	public void setLodat_tp(String lodat_tp) {
		this.lodat_tp = lodat_tp;
	}

	public void setNgay_nop(Date ngay_nop) {
		this.ngay_nop = ngay_nop;
	}

	public void setNguoi_dai_dien(String nguoi_dai_dien) {
		this.nguoi_dai_dien = nguoi_dai_dien;
	}

	public void setNoidung_cap_ct(String noidung_cap_ct) {
		this.noidung_cap_ct = noidung_cap_ct;
	}

	public void setNoidung_chieucao(String noidung_chieucao) {
		this.noidung_chieucao = noidung_chieucao;
	}

	public void setNoidung_dt_tang(String noidung_dt_tang) {
		this.noidung_dt_tang = noidung_dt_tang;
	}

	public void setNoidung_loai_ct(String noidung_loai_ct) {
		this.noidung_loai_ct = noidung_loai_ct;
	}

	public void setNoidung_so_tang(String noidung_so_tang) {
		this.noidung_so_tang = noidung_so_tang;
	}

	public void setNoidung_tong_dt_san(String noidung_tong_dt_san) {
		this.noidung_tong_dt_san = noidung_tong_dt_san;
	}

	public void setPhuong(String phuong) {
		this.phuong = phuong;
	}

	public void setPhuong_an_pha_do(String phuong_an_pha_do) {
		this.phuong_an_pha_do = phuong_an_pha_do;
	}

	public void setQuan(String quan) {
		this.quan = quan;
	}

	public void setReceived(Boolean received) {
		this.received = received;
	}

	public void setSo_nha(String so_nha) {
		this.so_nha = so_nha;
	}
	
	public void setTen_lien_he(String ten_lien_he) {
		this.ten_lien_he = ten_lien_he;
	}
	public void setTen_thu_tuc(String ten_thu_tuc) {
		this.thu_tuc = ten_thu_tuc;
	}


	public void setThamdinh_dia_chi(String thamdinh_dia_chi) {
		this.thamdinh_dia_chi = thamdinh_dia_chi;
	}


	public void setThamdinh_dien_thoai(String thamdinh_dien_thoai) {
		this.thamdinh_dien_thoai = thamdinh_dien_thoai;
	}


	public void setThamdinh_giay_phep(String thamdinh_giay_phep) {
		this.thamdinh_giay_phep = thamdinh_giay_phep;
	}

	public void setThamdinh_ngay_cap(String thamdinh_ngay_cap) {
		this.thamdinh_ngay_cap = thamdinh_ngay_cap;
	}

	public void setThamdinh_tk(String thamdinh_tk) {
		this.thamdinh_tk = thamdinh_tk;
	}

	public void setThanh_pho(String thanh_pho) {
		this.thanh_pho = thanh_pho;
	}
	
	public void setThoi_gian_hoan_thanh(String thoi_gian_hoan_thanh) {
		this.thoi_gian_hoan_thanh = thoi_gian_hoan_thanh;
	}

	public void setThu_tuc(String thu_tuc) {
		this.thu_tuc = thu_tuc;
	}
	@Override
	public String toString() {
		
		return null;
	}

	public void setFileCode(String fileCode) {
		this.fileCode = fileCode;
	}

	@Column(name="FILE_CODE")
	public String getFileCode() {
		return fileCode;
	}

	public void setNotify_message(String notify_message) {
		this.notify_message = notify_message;
	}

	@Column(name="NOTIFY_MESSAGE")
	public String getNotify_message() {
		return notify_message;
	}

}